package org.xue.snowmall.group.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.xue.snowmall.common.utils.PageUtils;
import org.xue.snowmall.common.utils.Query;

import org.xue.snowmall.group.dao.GroupRecordDao;
import org.xue.snowmall.group.entity.GroupRecordEntity;
import org.xue.snowmall.group.service.GroupRecordService;


@Service("groupRecordService")
public class GroupRecordServiceImpl extends ServiceImpl<GroupRecordDao, GroupRecordEntity> implements GroupRecordService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<GroupRecordEntity> page = this.page(
                new Query<GroupRecordEntity>().getPage(params),
                new QueryWrapper<GroupRecordEntity>()
        );

        return new PageUtils(page);
    }

}